package org.wuyichun.course.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
    private Long courseId;
    private String id;
    private Integer type; // 评论的类型 1= 课程 2 = 服务
    private String content;
    private Date createTime;
    private Long userId;
    private String userName;
    private List<Reply> replies;
}
